import { createSlice } from "@reduxjs/toolkit"


const initialState = {
  person: {
    username: 'Tom'
  }
}

const userSlice = createSlice({
  name: "user",
  initialState,
  reducers: {
    changName() {
    }
  }
})

export const { changName } = userSlice.actions
export default userSlice.reducer